/* 小说详情页面样式 */
.books-detail-container {
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin: 15px;
}

.books-detail-header {
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e9ecef;
}

.books-detail-header h6 {
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    position: relative;
    padding-left: 10px;
}

.books-detail-header h6:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 18px;
    background: #4e73df;
    border-radius: 2px;
}

.books-detail-content {
    display: grid;
    grid-template-columns: 1fr 250px;
    gap: 25px;
}

.books-detail-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.books-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.books-detail-item:hover {
    background: #f0f2f5;
}

.books-detail-label {
    min-width: 110px;
    color: #4e73df;
    font-weight: 500;
    font-size: 0.95rem;
    text-align: right;
}

.books-detail-value {
    flex: 1;
    color: #2d3748;
    line-height: 1.4;
    font-size: 0.95rem;
}

.books-detail-cover {
    position: sticky;
    top: 15px;
    text-align: center;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.books-detail-cover img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

.books-detail-cover img:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.books-detail-description {
    grid-column: 1 / -1;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    margin-top: 20px;
    border: 1px solid #e9ecef;
}

.books-detail-description .books-detail-label {
    display: block;
    margin-bottom: 8px;
    color: #4e73df;
    font-size: 1rem;
}

.books-detail-description .books-detail-value {
    line-height: 1.5;
    color: #2d3748;
    font-size: 0.95rem;
}

.books-detail-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.btn-return {
    padding: 6px 16px;
    background: #4e73df;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(78,115,223,0.2);
}

.btn-return:hover {
    background: #2e59d9;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(78,115,223,0.3);
}

/* 响应式调整 */
@media (max-width: 992px) {
    .books-detail-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .books-detail-cover {
        position: relative;
        top: 0;
        max-width: 250px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .books-detail-container {
        padding: 12px;
        margin: 10px;
    }
    
    .books-detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 8px;
    }
    
    .books-detail-label {
        text-align: left;
        min-width: auto;
    }
    
    .books-detail-cover {
        max-width: 200px;
    }
    
    .books-detail-header h6 {
        font-size: 1.1rem;
    }
} 